<?php
use yii\helpers\Url;
?>
<div class="page-header navbar navbar-fixed-top">
    <!-- BEGIN HEADER INNER -->
    <div class="page-header-inner ">
        <!-- BEGIN LOGO -->
        <div class="page-logo">
            <a href="/index.php" class="normal-logo">后台管理</a>

            <div class="menu-toggler sidebar-toggler"> </div>
        </div>
        <style type="text/css">
            .page-logo>a{text-decoration: none;font-size: 20px;line-height: 46px;}
            .page-sidebar-closed .page-logo a.normal-logo{display: none;}
            .page-logo span.logo-default{font-size: 26px;font-weight: bold;line-height: 75px;}
        </style>
        <!-- END LOGO -->
        <!-- BEGIN RESPONSIVE MENU TOGGLER -->
        <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"> </a>
        <!-- END RESPONSIVE MENU TOGGLER -->
        <!-- BEGIN TOP NAVIGATION MENU -->
        <div class="top-menu">
            <ul class="nav navbar-nav pull-right">
                <!-- BEGIN USER LOGIN DROPDOWN -->
                <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                <li class="dropdown dropdown-user">
                    <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                        <img alt="" class="img-circle" src="" />
                        <span class="username username-hide-on-mobile"> <?=yii::$app->user->identity->username?> </span>
                        <i class="fa fa-angle-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-menu-default">
                        <li>
                            <a href="<?=Url::to(['/site/password'])?>">
                                <i class="icon-key"></i>修改密码</a>
                        </li>
                        <li>
                            <a href="<?=Url::to(['/site/logout'])?>">
                                <i class="icon-logout"></i>退出</a>
                        </li>
                    </ul>
                </li>
                <!-- END USER LOGIN DROPDOWN -->
                <li class="dropdown dropdown-quick-sidebar-toggler">
                    <a href="javascript:;" class="dropdown-toggle">
                    </a>
                </li>
            </ul>
        </div>
        <!-- END TOP NAVIGATION MENU -->
    </div>
    <!-- END HEADER INNER -->
</div>
